<template>
	<view>
		<view class="tag_box" :style="{border:'1px solid '+backcolor,color:backcolor}">
			{{title}}
		</view>
	</view>
</template>

<script>
	export default {
		props:{
			title:{
				type:String
			},
			backcolor:{
				type:String
			}
		},
		data() {
			return {
				
			};
		}
	}
</script>

<style lang="scss">
	.tag_box{
		text-align: center;
		line-height: 34rpx;
		// width: 76rpx;
		padding: 0 18rpx;
		height:34rpx;
		border-radius:6rpx;
		border:2rpx solid rgba(42,168,69,1);
		font-size: 20rpx;
	}
</style>
